/************************************************************
 * <bsn.cl fy=2013 v=epl-1.0>
 *
 *        Copyright 2013, 2014 Big Switch Networks, Inc.
 *
 * Licensed under the Eclipse Public License, Version 1.0 (the
 * "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at
 *
 *        http://www.eclipse.org/legal/epl-v10.html
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 * either express or implied. See the License for the specific
 * language governing permissions and limitations under the
 * License.
 *
 * </bsn.cl>
 ************************************************************
 *
 * ELS Generic uCli Interfaces.
 *
 ***********************************************************/

#include <ELS/els_config.h>

#if ELS_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
els_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(els);
}

/* <auto.ucli.handlers.start> */
/******************************************************************************
 *
 * These handler table(s) were autogenerated from the symbols in this
 * source file.
 *
 *****************************************************************************/
static ucli_command_handler_f els_ucli_ucli_handlers__[] =
{
    els_ucli_ucli__config__,
    NULL
};
/******************************************************************************/
/* <auto.ucli.handlers.end> */


static ucli_module_t
els_ucli_module__ =
    {
        "els_ucli",
        NULL,
        els_ucli_ucli_handlers__,
        NULL,
        NULL,
    };


ucli_node_t*
els_ucli_node_create(void)
{
    ucli_node_t* n;
    ucli_module_init(&els_ucli_module__);
    n = ucli_node_create("els", NULL, &els_ucli_module__);
    ucli_node_subnode_add(n, ucli_module_log_node_create("els"));
    return n;
}

#else
void*
els_ucli_node_create(void)
{
    return NULL;
}
#endif



